namespace EyeOpen.Queries
{
    public abstract class QueryValidatorBase<T> : IQueryValidator<T> where T : IQuery
    {
        public bool IsValid(IQuery query)
        {
            return IsValid((T)query);
        }

        public abstract bool IsValid(T query);
    }
}